<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252" isErrorPage="true"
         import="java.io.CharArrayWriter, java.io.PrintWriter"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Error</title>
<link href="../vistas/administracion/css/estilo.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table>
 <tr>
    <td width="108" rowspan="2"><div align="center"><img src="../vistas/administracion/imagenes/error.gif" width="80" height="160" /></div></td>
    <td width="403" height="80" class="menuTextoPadre">Error: 
        <%
      if (exception != null) 
      { 
        out.println(exception.getMessage());
        /*CharArrayWriter charArrayWriter = new CharArrayWriter(); 
        PrintWriter printWriter = new PrintWriter(charArrayWriter, true); 
        exception.printStackTrace(printWriter); 
        out.println(charArrayWriter.toString());*/ 
      }else{
          out.println(request.getAttribute("error"));
      } 
    %>
    </td>
  </tr>
 <tr>
   <td><div align="center">
     <input name="Submit" onclick="history.back();" type="submit" class="boton2" value="Volver"/>
   </div></td>
 </tr>
</table>
</body>
</html>
